<!DOCTYPE HTML>
<html xmlns:wb="http://open.weibo.com/wb" xmlns:th="http://www.thymeleaf.org">
<head>
    <script id="allmobilize" charset="utf-8" th:src="@{/static/js/allmobilize.min.js}"></script>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="alternate" media="handheld"/>
    <!-- end 云适配 -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>乐山第一帅的求职招聘系统</title>
    <meta property="qc:admins" content="23635710066417756375"/>
    <meta content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网" name="description">
    <meta content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招"
          name="keywords">
    <meta name="baidu-site-verification" content="QIQ6KC1oZ6"/>

    <!-- <div class="web_root"  style="display:none">h</div> -->
    <script type="text/javascript">
        var ctx = "h";
        console.log(1);
    </script>
    <link rel="Shortcut Icon" href="h/images/favicon.ico">
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/style.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/external.min.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/popup.css}"/>
    <script th:src="@{/static/js/jquery.1.10.1.min.js}" type="text/javascript"></script>
    <script type="text/javascript" th:src="@{/static/js/jquery.lib.min.js}"></script>
    <script th:src="@{/static/js/ajaxfileupload.js}" type="text/javascript"></script>
    <script type="text/javascript" th:src="@{/static/js/additional-methods.js}"></script>
    <!--[if lte IE 8]>
    <script type="text/javascript" th:src="@{/static/style/js/excanvas.js}"></script>
    <![endif]-->
    <script type="text/javascript">
        var youdao_conv_id = 271546;
    </script>
    <script type="text/javascript" th:src="@{/static/js/conv.js}"></script>
</head>
<body>

<form onsubmit="return false" action="#" method="post">
    <input type="text" id="companyName" name="companyName" placeholder="公司名称"><br>
    <textarea id="companyDescription" name="companyDescription" placeholder="公司简介"></textarea><br>
    <input id="companyEmail" type="email" name="companyEmail" placeholder="公司邮箱"><br>
    <input type="text" id="companyAddress" name="companyAddress" placeholder="公司地址"><br>
    <button id="saveBtn" type="button" onclick="saveFunction()">save</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</form>

<div id="footer">
    <div class="wrapper">
        <a href="h/about.html" target="_blank" rel="nofollow">联系我们</a>
        <a href="h/af/zhaopin.html" target="_blank">互联网公司导航</a>
        <a href="http://e.weibo.com/lagou720" target="_blank" rel="nofollow">拉勾微博</a>
        <a class="footer_qr" href="javascript:void(0)" rel="nofollow">拉勾微信<i></i></a>
        <div class="copyright">&copy;2013-2014 Lagou <a target="_blank"
                                                        href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action">京ICP备14023790号-2</a>
        </div>
    </div>
</div>

<script type="text/javascript" th:src="@{/static/js/core.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/popup.min.js}"></script>

<!-- <script src="style/js/wb.js" type="text/javascript" charset="utf-8"></script>
 -->
<script>
    function saveFunction() {
        let data = {};

        let companyName = $('#companyName').val();
        let companyDescription = $('#companyDescription').val();
        let companyEmail = $('#companyEmail').val();
        let companyAddress = $('#companyAddress').val();
        console.log(companyAddress);
        $.ajax({
            url: '/company/saveCompany',
            type: 'post',
            dataType: 'json',
            data: {
                'companyName': companyName,
                'companyDescription': companyDescription,
                'companyEmail': companyEmail,
                'companyAddress': companyAddress
            },
            success: function (result) {
                console.log(result.toString());
            }
        });
    }
</script>
</body>
</html>